package com.tech.view.panel;

import com.tech.util.LogProcessUtil;
import com.tech.view.frame.MainFrame;
import org.jdesktop.swingx.VerticalLayout;

import javax.swing.*;
import java.awt.*;
import java.util.logging.Logger;

/**
 * 个人中心面板
 */
public class MyCenterPanel extends JPanel {
	private final static Logger LOG = LogProcessUtil.getLogger(OrderDisplayPanel.class.getName());
	private MainFrame frame;

	private JPanel topPanel;
	private JPanel userPanel;
	private JPanel tradePanel;
	private JPanel tradeNavigatePanel;
	private JPanel tradeContentPanel;

	public MyCenterPanel(MainFrame frame) {
		this.frame = frame;
		initService();
		initComponents();
		setListeners();
		initView();
	}

	private void initService() {
	}

	private void initComponents() {
		topPanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
		userPanel = new JPanel(new BorderLayout());
		tradePanel = new JPanel(new VerticalLayout());
		tradeNavigatePanel = new JPanel(new CardLayout());
		tradeContentPanel = new JPanel(new VerticalLayout());

	}

	private void initView() {
		setLayout(new VerticalLayout());

	}

	private void setListeners() {
	}

}
